package com.hex.ds.hdtp.core.inf.script.test.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hex.ds.hdtp.core.inf.script.test.po.ScriptDataTestListPo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Package: com.hex.ds.hdtp.core.inf.script.test.mapper
 * @ClassName IScriptDataTestListMapper
 * @Description: 带数据脚本测试清单-数据映射接口
 * @Author: wz.li
 * @Date 2023/8/1 14:10
 * @Version v2.0.2
 **/
public interface IScriptDataTestListMapper extends BaseMapper<ScriptDataTestListPo> {

    /*
     * @Method: queryListByPage <br>
     * @Param: [toMyBatisPlusPage, scriptDataTestListPo] <br>
     * @Return: com.baomidou.mybatisplus.core.metadata.IPage<com.hex.ds.hdtp.core.inf.script.test.po.ScriptDataTestListPo> <br>
     * @Description：分页查询<br>
     * @Author： wz.li<br>
     * @Date： 2023/8/1 14:49 <br>
     * @Version： V2.0.2<br>
     */
    IPage<ScriptDataTestListPo> queryListByPage(IPage<ScriptDataTestListPo> toMyBatisPlusPage, @Param("po")
            ScriptDataTestListPo scriptDataTestListPo);

    /*
     * @Method: queryConsanguinityListByPage <br>
     * @Param: [toMyBatisPlusPage, scriptDataTestListPo] <br>
     * @Return: com.baomidou.mybatisplus.core.metadata.IPage<com.hex.ds.hdtp.core.inf.script.test.po.ScriptDataTestListPo> <br>
     * @Description：分页查询测试脚本的血缘<br>
     * @Author： wz.li<br>
     * @Date： 2023/8/3 17:45 <br>
     * @Version： V2.0.2<br>
     */
    IPage<ScriptDataTestListPo> queryConsanguinityListByPage(IPage<ScriptDataTestListPo> toMyBatisPlusPage, @Param("po")
            ScriptDataTestListPo scriptDataTestListPo);

    /*
     * @Method: queryList <br>
     * @Param: [scriptDataTestListPo] <br>
     * @Return: java.util.List<com.hex.ds.hdtp.core.inf.script.test.po.ScriptDataTestListPo> <br>
     * @Description：不分页查询<br>
     * @Author： wz.li<br>
     * @Date： 2023/8/1 14:49 <br>
     * @Version： V2.0.2<br>
     */
    List<ScriptDataTestListPo> queryList(@Param("po") ScriptDataTestListPo scriptDataTestListPo);
}
